// {
// "MusicPlayer": "",
// "dragTracks": "",
// "dontClose": "",
// "uploadMusic": "",
// "Refresh": "",
// "remove": "",
// "download": "",
// "fileUpload": "",
// "formatnot": "",
// "Disconnected": ""
// }
import 'package:mybase/base/tool/entitylog/MyEntityLog.dart';

class DeviceEntity {
  String? Refresh;
  String? download;
  String? dragTracks;
  String? MusicPlayer;
  String? formatnot;
  String? dontClose;
  String? uploadMusic;
  String? fileUpload;
  String? remove;
  String? Disconnected;
  String? deviceName;

  DeviceEntity({
    this.Refresh,
    this.download,
    this.dragTracks,
    this.MusicPlayer,
    this.formatnot,
    this.dontClose,
    this.uploadMusic,
    this.fileUpload,
    this.remove,
    this.Disconnected,
    this.deviceName,
  });

  DeviceEntity.fromJson(Map<String, dynamic> json) {
    Refresh = MyEntityLog.handleString(json, 'Refresh');
    download = MyEntityLog.handleString(json, 'download');
    dragTracks = MyEntityLog.handleString(json, 'dragTracks');
    MusicPlayer = MyEntityLog.handleString(json, 'MusicPlayer');
    formatnot = MyEntityLog.handleString(json, 'formatnot');
    dontClose = MyEntityLog.handleString(json, 'dontClose');
    uploadMusic = MyEntityLog.handleString(json, 'uploadMusic');
    fileUpload = MyEntityLog.handleString(json, 'fileUpload');
    remove = MyEntityLog.handleString(json, 'remove');
    Disconnected = MyEntityLog.handleString(json, 'Disconnected');
    deviceName = MyEntityLog.handleString(json, 'deviceName');

  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['Refresh'] = this.Refresh;
    data['download'] = this.download;
    data['dragTracks'] = this.dragTracks;
    data['MusicPlayer'] = this.MusicPlayer;
    data['formatnot'] = this.formatnot;
    data['dontClose'] = this.dontClose;
    data['uploadMusic'] = this.uploadMusic;
    data['fileUpload'] = this.fileUpload;
    data['remove'] = this.remove;
    data['Disconnected'] = this.Disconnected;
    data['deviceName'] = this.deviceName;

    return data;
  }
}


